/*
 * @Author: 姚沈阳 11500793+yao-shenyang@user.noreply.gitee.com
 * @Date: 2023-10-31 11:37:32
 * @LastEditors: 姚沈阳 11500793+yao-shenyang@user.noreply.gitee.com
 * @LastEditTime: 2023-11-02 19:47:54
 * @FilePath: \票务管理\app\ticketing-management\server\app\router.js
 * @Description: 
 * qq1908552310
 */
'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.resources("ticket", '/v1/api/ticket', controller.ticket);
  router.resources('station', '/v1/api/station', controller.station)
  router.resources('orders','/v1/api/orders',controller.orders)
}